KeyLocation

public enum KeyLocation

The location of the key on the keyboard or other input device.

Entries

Link copied to clipboard

The key has only one version, or cannot be distinguished between the left and right versions of the key, and was not pressed on the numeric keypad or a key that is considered to be part of the keypad.

Link copied to clipboard

The key was on the numeric keypad, or has a virtual key code that corresponds to the numeric keypad.

Link copied to clipboard

The key was the left-hand version of the key.

Link copied to clipboard

The key was the right-hand version of the key.

Functions

Link copied to clipboard
public static KeyLocation valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<KeyLocation> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.